import { createRouter, createWebHashHistory } from 'vue-router'
import Index from '../views/index.vue'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: Index
    },
    {
      path: '/echarts_1',
      component: () => import('../views/echartsStyle/echarts_1.vue')
    },
    {
      path: '/echarts_2',
      component: () => import('../views/echartsStyle/echarts_2.vue')
    },
    {
      path: '/echarts_3',
      component: () => import('../views/echartsStyle/echarts_3.vue')
    },
    {
      path: '/echarts_4',
      component: () => import('../views/echartsStyle/echarts_4.vue')
    },
    {
      path: '/echarts_5',
      component: () => import('../views/echartsStyle/echarts_5.vue')
    },
    {
      path: '/echarts_6',
      component: () => import('../views/echartsStyle/echarts_6.vue')
    }
  ]
})

export default router
